 body {
	 background-color: #f5f5f5;
	 height: 3000px;
 }
 /*顶部一级导航开始 */
.container {
	width: 100%;
	height: 40px;
	background-color: rgb(51,51,51);
}
.navbar {
	width: 1226px;
	height: 100%;
	margin: 0 auto;
}
.nav-list,.nav-info {
	height: 100%;
	float: left;
}
.nav-list {
	width: 705px;
}
.nav-list li {
	float: left;
	line-height: 40px;
}
.nav-list li a {
	font-size: 12px;
}
.nav-list li a:hover {
	color: #FFFFFF;
}
.nav-list li span {
	color: rgb(66,66,66);
	margin:0 5px
}
/*APP弹窗*/
.download {
	position: relative;
}
.download:hover .qr-code {
	height: 150px;
}
.download:hover .triangle {
	display: block;
}
.qr-code {
	position: absolute;
	top: 40px;
	left: -40px;
	width: 125px;
	height: 0;
	background-color: #fff;
	box-shadow: 0 8px 8px rgba(0,0,0,.2);
	text-align: center;
	z-index: 99;
	overflow: hidden;
	transition: all .3s;
}
.triangle {
	display: none;
	position: absolute;
	top:26px;
	left: 13px;
	width: 0;
	height: 0;
	border: 7px solid transparent;
	border-bottom: 7px solid #FFf;
}
.qr-code img {
	margin-top: 20px;
	width: 70%;
}
.qr-code p {
	margin-top: -16px;
	font-size: 14px;
	color: #333;
}
/*APP弹窗*/
.nav-info {
	width: 520px;
	height: 100%;
	
}
.info-list {
	width: 170px;
	height: 100%;
	float: right;
	line-height: 40px;
}
.info-list li {
	float: left;
	margin: 0 5px;
	font-size: 12px;
}
.info-list li a:hover {
	color: #FFFFFF;
}
.shopcart {
	display: block;
	width: 120px;
	height: 100%;
	float: right;
	line-height: 40px;
	font-size: 12px;
	text-align: center;
	position: relative;
}

/* 购物车弹出窗口开始 */
.cart-heid {
	width: 320px;
	height: 0px;
	background-color: #fff;
	position: absolute;
	right: 0;
	top: 40px;
	color: #424242;
	/*设置盒子阴影效果*/
	box-shadow: 0 8px 8px rgba(0,0,0,.2);
	line-height: 100px;
	overflow: hidden;/*超出部分隐藏*/
	transition: all .3s; /*过渡效果*/
}	
/* 购物车弹出窗口结束 */

.cart {
	margin-right: 5px;
	font-weight: 800;
}
.shopcart:hover {
	background-color: #FFFFFF;
	color: #ff6700;
}
.shopcart:hover .cart-heid{
	height: 100px;
	
}
/*顶部一级导航结束 */
/*顶部二级级导航开始 */
.second-container {
	width: 100%;
	background-color: #fff;
}
.second-navbar {
	width: 1226px;
	height: 100px;
	background-color: #FFFFFF;
	margin: 0 auto;
}
.second-navbar>div { /* 子代选择器 */
	height: 100%;
	float: left;
}
.site-logo {
	width: 234px;
}
.second-nav-list {
	width: 696px;
	
}
/* 二级导航下弹窗开始 */

.popdown {
	width:100% ;
	height: 230px;
	background-color: #fff;
	position: absolute;
	top: 140px;
	left: 0;
	z-index: 500;
	border-top: 1px solid #E5E5E5;
	box-shadow: 0 3px 5px rgba(0,0,0,.2);
	/* opacity: 0; /*使用透明度隐藏的时候，保留原来的位置*/ 
	/*display: none;  在文档中把元素删除了*/
	 visibility: hidden;/*把元素设置成隐藏，不会删除这个元素*/
}
.second-nav-list-navbar:hover  .popdown{
	/* opacity: 1; */
	visibility: visible;
	/*display: block;在文档中又添加了一个元素*/
}
.popdown .popdown-inner {
	margin: 0 auto;
	width: 1226px;
	height: 100%;
	
}
.popdown .popdown-list {
	width: 100%;
	height: 100%;
	line-height: 20px;
	display: none;
}
.popdown .popdown-list .poodown-itme {
	width: 16.66%;
	height: 100%;
	float: left;
	text-align: center;
	padding: 40px 0;
	box-sizing: border-box;
	position: relative;
	
}
.popdown .popactive{
	display: block;
}
.pitem-title {
	font-size: 12px;
	color: #333;
}
.pitem-price{
	font-size: 14px;
	color: #FF6700;
}
.poodown-itme::before{
	content: '';
	display: block;
	width: 1px;
	height: 100px;
	background-color: #e5e5e5;
	position: absolute;
	top: 45px;
	right:21px;
}
.poodown-itme:last-child::before{
	display: none;
	
}
/*二级导航下弹窗结束*/
.second-form {
	width: 296px;
	position: relative;
}
/*logo部分开始*/
.logo {
	margin-top: 22px;
	overflow: hidden;  /* 超出部分隐藏 */
	display: block;  /* 转换成块级元素 */
	width: 55px;  /*宽度高度靠内容撑开*/
	height: 55px;
	background-color: #FF6700;
	position: relative;  /*相对定位   他还是一个基准*/ 
}
.logo::before {
	position: absolute;  /* 绝对定位 */
	content: '';   /*必须有这个content*/
	margin-left: -59px;
	display: block;  /* 转换成块级元素 */
	width: 55px;  /*宽度高度靠内容撑开*/
	height: 55px;
	background-color: #FF6700;
	background-image: url(../img/mi-home.png);
	transition: all .3s;  /* 过渡效果 */
}
.logo::after {
	position: absolute;  /* 绝对定位 */
	content: '';   /*必须有这个content*/
	/* margin-left: 59px; */
	margin-left: 3px;
	display: block;  /* 转换成块级元素 */
	width: 55px;  /*宽度高度靠内容撑开*/
	height: 55px;
	background-color: #FF6700;
	background-image: url(../img/mi-logo.png);
	transition: all .5s;  /* 过渡效果 */
}
.logo:hover::before{
	margin-left: 2px;
}
.logo:hover::after {
	margin-left: 62px;
}
/*logo部分结束*/
/*二级导航列表开始*/
.second-nav-list .second-nav-list-navbar,
.second-nav-list .second-nav-list-navbar1{
	
	height: 100%;
	line-height: 100px;
}
.second-nav-list .second-nav-list-navbar {
	
	width: 472px;
	float: left;
}
.second-nav-list .second-nav-list-navbar1 {
	width: 196px;
	float: left ;
}
.second-nav-list li a{  /*后代子元素*/
	float: left;
	margin-right: 14px;
	color: #333333;
}
.second-nav-list li a:hover {
	color: #FF6700;
}
/*二级导航列表结束*/
/* 查询表单开始 */
.myform {
	margin-top: 25px;
}
[type ='text'] {
	box-sizing: content-box; /*转换盒模型*/
	width: 230px;
	height: 50px;
	border: 1px solid #ddd;
}
/* [type ='text']:hover,[type="submit"]:hover {
	border: 1px solid #bbb;
	outline: none;
} */
[type="submit"] {
	margin-top: 1px;
	box-sizing: content-box;
	width: 50px;
	height: 50px;
	background-color: transparent;
	border: 1px solid #ddd;
	border-left:none;
	
}

/*使用伪类选择器：focus来选择input获取焦点的样式*/
[type ='text']:focus {
	border: 1px solid #FF6700;
	outline: none;
}
/*查询列表弹窗*/
.product-popdown {
	display: none;
	width: 230px;
	height: 300px;
	border: 1px solid #ff6700;
	border-top: none;
	position: absolute;
	top: 80px;
	left: 0px;
	z-index: 20;
	background-color: #fff;
}
.product-popdown li {
	width: 100%;
	height: 30px;
	line-height: 30px;
	padding: 0 14px;
	
	
}
.product-popdown li a{
	color: #333;
	font-size: 12px;
}

/*查询列表弹窗*/
/* 查询表单结束 */
/*顶部二级导航结束 */
/* 固定页面的工具栏开始 */
.home-toolsbar {
	width: 84px;
	height: 558px;
	/* border: 1px solid #eee; */
	position: fixed; /*固定定位*/
	right: 0;
	top:250px;
}
.home-toolsbar .tools-item {
	width: 100%;
	height: 90px;
	background-color: #fff;
	text-align: center;
	border: 1px solid #eee;
	border-bottom: none;
	color: #757575;
	cursor: pointer;
}
.totop {
	margin-top: 14px;
	display: none;
	border-bottom: 1px solid #eee;
}
.tools-item .tools-img {
	display: inline-block;
	margin: 10px 0 8px;
	font-size: 36px;
	font-weight: 500;
}
.tools-desc {
	font-weight: 500;
	font-size: 14px;
}
.tools-item:hover {
	color: #FF6700;
}
/* 手机app 二维码弹窗*/
.app-code {
	width: 130px;
	height: 190px;
	background-color: #fff;
	border: 1px solid #eee;
	position: absolute;
	top : 0;
	left: -144px;
	/* display: none; */
	opacity: 0;
	/*隐藏 opacity：0*/
}
.app-code img {
	margin-top: 20px;
	width: 75%;
}
.code-desc{
	color: #757575;
	font-size: 14px;
}
.tools-item:first-child:hover .app-code{
	/* display: block; */
	opacity: 1;
}
.sanjiao {
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-left: 8px solid #fff;
	position: absolute;
	top: 60px;
	right: -14px;
}
/* 固定页面的工具栏结束 */
/*种类列表向右弹框开始*/
.pop-right {
	width: fit-content;/*根据内容设置宽度*/
	height: 460px;
	background-color: #fff;
	position: absolute;
	top: 0;
	left: 234px;
	display: flex;
	/* flex-direction: row; */
	box-shadow: 0px 8px 16px rgba(0,0,0,.18);
	display: none;
}
.category-item:hover .pop-right {
	display: flex;
}
.popright-list { 
	/*ul*/
	width: 234px;
	height: 100%;
	margin-right: 14px;
	display: flex;
	flex-direction: column;
	justify-content: space-around;
}
.popright-item>a{
	/*a*/
	height: 77px;
	width: 100%;
	display: flex;
	align-items: center;
	padding-left: 20px;
	box-sizing: border-box;
}
.popright-item>a>img {
	width: 40px;
	height: 40px;
	margin-right: 15px;
}
.popright-item>a>span {
	font-size: 14px;
	color: #333;
	overflow: hidden;
	text-overflow:ellipsis ;
	white-space: nowrap;
	transition: .3s;
}
.popright-item>a:hover span {
	color: #FF6700;
}
.pop-right>.popright-list:last-child{
	/* justify-content: flex-start; */
	display: block;
	padding-top: 1px;
}
/*种类列表向右弹框结束*/

/*sub栏开始*/
.sub-wrap {
	margin: 14px auto;
	width: 1226px;
	height: 170px;
	display: flex;
}
.sub-left {
	width: 234px;
	height: 170px;
	display: flex;
	
}
.sub-left-list{
	width: 100%;
	height: 100%;
	background-color: #5f5750;
	display: flex;
	flex-wrap: wrap;
}
.sub-left-item{
	width: 33.33%;
	height: 50%;
	position: relative;
}
.sub-left-item::before {
	content: '';
	display:block;
	position: absolute;
	top: 5px;
	left: 2px;
	width: 1px;
	height: 65px;
	background-color: #665e57;
}
.sub-left-item::after {
	content: '';
	display:block;
	position: absolute;
	bottom: 5px;
	left: 7px;
	width: 65px;
	height: 1px;
	background-color: #665e57;
}
.sub-left-item a{
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0.7;
	transition: .3s;
}
.sub-left-item a:hover {
	opacity: 1;
}
.sub-left-item a img {
	width: 24px;
	
}
.sub-left-item a .sub-desc {
	font-size: 12px;
	color: white;
	margin-top: 5px;
	
}
.sub-right {
	width:992px;
	display: flex;
}
.sub-right-item {
	width: 316px;
	height: 100%;
	margin-left: 14px;
}
.sub-right-item img {
	width: 100%;
}
/*sub栏结束*/